package cums.logic.iface;

import cums.db.pers.Cusevent;
import cums.db.pers.Cusgrp;
import cums.db.pers.Cusprop;
import cums.db.pers.Customers;
import cums.db.pers.Groups;
import cums.db.pers.Propdetail;
import cums.db.pers.Properties;
import java.util.List;

/**
 * @time Dec 9, 2009, 1:42:59 PM
 * @author fdcube
 */
public interface CustomerService {

    public Customers AddOrUpdateCus(Customers value);

    public boolean DeleteCus(Customers value);

    public Cusevent AddOrUpdateCue(Cusevent value);

    public boolean DeleteCue(Cusevent value);

    public List<Customers> ListCustomersByUid(int page, int uid);

    public List<Customers> ListCustomersByGid(int page, int gid, int uid);

    public Cusgrp AddOrUpdateCusg(Cusgrp value);

    public Groups AddOrUpdateGroup(Groups value);

    public Properties AddOrUpdateProp(Properties value);

    public Propdetail AddOrUpdatePropDet(Propdetail value);

    public Cusprop AddOrUpdateCusprop(Cusprop value);
}
